#! /usr/bin/python
# -*- coding: utf-8 -*-
# @Time    : 2017/11/3 11:32
# @Author  : Zhang
import config
import geotiff_tools as gt

def readgf(path):
    """
    read GF-1 image
    :return:
    """
    arr = gt.img2array(path)
    print(arr.shape)
    pass



if __name__ == '__main__':
    img = "{}\\ChinaPakistan_25958.TIF".format(config.GFDir)
    readgf(img)